﻿#pragma once

#include "../MonsterObject.h"
#include "../../MirDatabase/MonsterInfo.h"
#include "../../../Shared/Enums.h"
#include "../PlayerObject.h"
#include <vector>

using namespace Server::MirDatabase;
using namespace Server::MirEnvir;
namespace S = ServerPackets;

namespace Server::MirObjects::Monsters
{
    class RedMoonEvil : public MonsterObject
    {
    protected:
        bool getCanMove() const override;
        bool getCanRegen() const override;

        RedMoonEvil(MonsterInfo *info);

        bool InAttackRange() override;

    public:
        void Turn(MirDirection dir) override;
        bool Walk(MirDirection dir) override;

        int Attacked(MonsterObject *attacker, int damage, DefenceType type = DefenceType::ACAgility) override;
        int Attacked(PlayerObject *attacker, int damage, DefenceType type = DefenceType::ACAgility, bool damageWeapon = true) override;

        //public override void ApplyPoison(Poison p, MapObject Caster = null, bool NoResist = false) { }

    protected:
        void ProcessTarget() override;

        void Attack() override;

    };
}
